home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / swtools / mipsABI / examples / sup / PORT / step07 / run.c.diff < prev    next >
Encoding:
Text File  |  1994-08-02  |  642 b   |  25 lines

  1. *** ../step06/run.c    Fri Dec 17 12:10:18 1993
  2. --- run.c    Fri Dec 17 16:41:07 1993
  3. ***************
  4. *** 179,186 ****
  5.       sigvec (SIGQUIT,&ignoresig,&quitsig);
  6.   #endif
  7.       do {
  8. !         /* XXX All the signal stuff needs attention */
  9.           wpid = wait3 (&status.w_status, WUNTRACED, 0);
  10.           if (WIFSTOPPED (status)) {
  11.               kill (0,SIGTSTP);
  12.               wpid = 0;
  13. --- 179,189 ----
  14.       sigvec (SIGQUIT,&ignoresig,&quitsig);
  15.   #endif
  16.       do {
  17. ! #ifdef _ABI_SOURCE
  18. !         wpid = waitpid (pid, &status.w_status, WUNTRACED);
  19. ! #else
  20.           wpid = wait3 (&status.w_status, WUNTRACED, 0);
  21. + #endif
  22.           if (WIFSTOPPED (status)) {
  23.               kill (0,SIGTSTP);
  24.               wpid = 0;
  25.